<div class="ngdialog-message">
    <h3>{{dialog.title}}</h3>
    <p ng-bind-html="dialog.content"></p>
    <div ng-if="dialog.previous==0" ng-init="dialog.confirmValue=0">
        选择会员等级:
        <select ng-model="dialog.confirmValue">
            <option value="0">初级</option>
            <option value="1">中级</option>
            <option value="2">高级</option>
        </select>
    </div>

</div>
<div class="ngdialog-buttons">
    <button type="button" class="ngdialog-button ngdialog-button-primary" ng-click="confirm({statu:true,val:dialog.confirmValue})">确定</button>
    <button type="button" class="ngdialog-button ngdialog-button-secondary" ng-click="confirm({statu:false});closeThisDialog()">取消</button>
</div>